home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / esc.jar / com / extensibility / xa / AggregateAttributeDecl$3.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-06-30  |  1.1 KB  |  24 lines

  1. package com.extensibility.xa;
  2.  
  3. import com.extensibility.xml.AttributeDeclaration;
  4. import com.extensibility.xml.dt.DataType;
  5.  
  6. class AggregateAttributeDecl$3 implements AggregateAttributeDecl.Operation {
  7.    // $FF: synthetic field
  8.    final DataType val$newDataType;
  9.    // $FF: synthetic field
  10.    final AggregateAttributeDecl this$0;
  11.  
  12.    public void performOperation(AttributeDeclaration var1) {
  13.       if (this.this$0.getGlobal() == null || this.this$0.nullEquals(this.this$0.getGlobal().getDataType(), var1.getDataType())) {
  14.          var1.setDataType(this.val$newDataType);
  15.       }
  16.  
  17.    }
  18.  
  19.    AggregateAttributeDecl$3(DataType var1, AggregateAttributeDecl var2) {
  20.       this.val$newDataType = var1;
  21.       this.this$0 = var2;
  22.    }
  23. }
  24.